#ifndef ZIGBEE3NEWJOINPARAMCMD_H
#define ZIGBEE3NEWJOINPARAMCMD_H

#include "Command/BaseCmd.h"
#include "Protocol/ZigbeeNewControlProtocol.h"

class Zigbee3NewJoinParamCmd : public BaseCmd
{
    Q_OBJECT
public:
    Q_INVOKABLE explicit Zigbee3NewJoinParamCmd(QObject *parent = 0);

    enum{FunctionCode =  ZigbeeNewControlProtocol::NewJoinData};

    Package toPackage();
    void unPackage(Package package);

    QByteArray Mac();
    QByteArray Nwk();
private:
    QByteArray m_mac;
    QByteArray m_nwk;
};




#endif // ZIGBEE3NEWJOINPARAM_H
